package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 active_card_config
 *
 * @author ruoyi
 * @date 2022-10-18
 */
public class ActiveCardConfig extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 卡牌点数 1-6
     */
    @Excel(name = "卡牌点数 1-6")
    private Long points;

    /**
     * 卡牌名
     */
    @Excel(name = "卡牌名")
    private String name;

    /**
     * 正面图片
     */
    @Excel(name = "正面图片")
    private String positiveImg;

    /**
     * 背面图片
     */
    @Excel(name = "背面图片")
    private String backImg;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setPoints(Long points) {
        this.points = points;
    }

    public Long getPoints() {
        return points;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setPositiveImg(String positiveImg) {
        this.positiveImg = positiveImg;
    }

    public String getPositiveImg() {
        return positiveImg;
    }

    public void setBackImg(String backImg) {
        this.backImg = backImg;
    }

    public String getBackImg() {
        return backImg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("points", getPoints())
                .append("name", getName())
                .append("positiveImg", getPositiveImg())
                .append("backImg", getBackImg())
                .append("createTime", getCreateTime())
                .toString();
    }
}
